Correctly verify availability of Android content URIs
authorPo Lu <luangruo@yahoo.com>
Thu, 18 Apr 2024 02:37:31 +0000 (10:37 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 18 Apr 2024 02:38:22 +0000 (10:38 +0800)
commitc19b988c2967f13597b7a3ceafb7c3cd40d83458
tree9e439752e540ef1f53541a9007ca57d5a99a46c4
parent3cdd86b8affa6d58de8f6d07b4e117676fedd58c
Correctly verify availability of Android content URIs

* java/org/gnu/emacs/EmacsService.java (checkContentUri): Call
checkUriPermission with IPC-effective PID and UID rather than
checkCallingUriPermission, which never considers permissions of
Emacs itself, and delete the now-redundant workaround.
java/org/gnu/emacs/EmacsService.java